<div class="user_header user_files w100 ">
    <div class="block2 mr20">
       <div class="block1 mb20 ft-bold">
          <p class="ft18  mb16">個人檔案</p>
          <p class="ft14 gary_c6  line2">歡迎來到 ACCUPASS 活動通，為了提 供更優質且專屬於你的生活圈，讓我 們更加了解你吧</p>
       </div>
       <ul class="layui-nav layui-nav-tree layui-inline w100 mt10 act-nav" lay-bar="disabled">
          <li class="layui-nav-item info ">
             <a class="info" href="/activity/user/info">关于我</a>
          </li>
          <li class="layui-nav-item dev">
             <a class="dev" href="/activity/user/user_files_dev">职业发展</a>
          </li>
       </ul>
    </div>
 </div>
 
 <script>
   var menu = '[menu]';
        var elem =$('.act-nav .'+menu);
        elem.addClass('layui-this');
        elem.parents('li').addClass('layui-this').addClass('layui-nav-itemed').siblings('.layui-nav-item').removeClass('layui-nav-itemed');
    layui.use('element', function () {
       var element = layui.element;
       element.init();
    });
    $(document).on('click', '[data-href]', function () {
       window.location.href = $(this).attr('data-href')
    })
 </script>